package com.cskaoyan.service.front.goods;

import com.cskaoyan.bean.po.BaseParam;
import com.cskaoyan.bean.vo.front.goodsvo.*;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


/**
 * @program: SSMItem
 * @description
 * @author: YY
 * @create: 2022-10-13 23:14
 **/
public interface WxGoodsService {
    GoodsIndexVo selectTables();

    Integer selectGoodsCount();

    CategoryVo selectGoodsByCategory(Integer id);

    GoodsListCategoryVo selectGoodsListVoCategory(Integer categoryId,Integer limit,Integer page);


    GoodsListBrandVo selectGoodsListVoBrand(Integer brandId, Integer page, Integer limit);

    GoodsListBrandVo selectGoodsByKeywords(String keyword, BaseParam baseParam, HttpServletRequest request);

    GoodsDetailVo detail(Integer id,Integer userId);

    GoodsRelatedVo selectRelatedGoods(Integer id);

    GoodsListBrandVo1 selectGoodsOrderByRetailPrice(BaseParam baseParam, String keyword,Integer categoryId);
}
